package ua.kpi_java_training.zabrodskyi.module3;

/**
 * Abstract class which describes obstacles in environment.
 * 
 * @author Maksym Zabrodskyi
 * @version 25-Jun-2013
 */
public abstract class Obstacle extends Element {

	/**
	 * Creates a new obstacle in environment.
	 * 
	 * @param cell
	 *            - cell in which there will be an obstacle.
	 */
	public Obstacle(Cell cell) {
		super(cell);
	}

	/**
	 * Converts a copy of this class to a string format.
	 */
	@Override
	public String toString() {
		return super.toString();
	}

}
